// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import VueResource from 'vue-resource';
import App from 'entry_vue/index/App';

/*
  import base css
*/
import 'common/css/base.less';

/*
  import config
*/
import sConf from 'common/plugin/configPlugin';
/* eslint-disable no-new */

Vue.use(VueResource);
Vue.use(sConf.sConf, {sConf: sConf.confOptions});
Vue.use(sConf.code, {code: sConf.codeOptions});

new Vue({
  el: '#app',
  template: '<App/>',
  components: { App }
});
